package com.teambsc4.todo.entities

import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @projectName:  A task record
 * @package: com.teambsc4.todo.entities
 * @className: TaskItem
 * @author: Eric
 * @description: TODO
 * @version: 1.0
 */
@Entity(tableName = "task")
data class TaskItem(
    var title: String,
    var description: String,
    var priority: String,
    val image: String,
    val beginTime: String,
    val endTime: String,
    var status: String,
    val gps: String,
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
)
